package com.jie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jie.entity.Role;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zwq
 * @since 2022-01-04
 */
public interface RoleService extends IService<Role> {

    /**
     * 根据id删除角色
     * @param id
     * @return
     */
    boolean delectById(int id);

    boolean updateRole(Role role);
}
